home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
PCW_C.ARJ
/
TCPCW.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-12-10
|
1KB
|
29 lines
:***************************************************************
:* File Id. TCPCW.BAT *
:* Author. Stan Milam. *
:* Date Written. 15 Oct 90. *
:* *
:* (c) Copyright 1990 by Stan Milam. *
:* *
:* Used to compile with Turbo/Borland C/C++. *
:* This batch file is invoked from another batch file that *
:* passes the memory model parameter to use to compile the *
:* PC Windows library. *
:* *
:***************************************************************
:*
@Echo Off
if exist ..\tcpcw%1\model goto model
md ..\tcpcw%1
echo tcpcw%1 >..\tcpcw%1\model
:model
copy ms*.obj ..\tcpcw%1 >nul
cd..\tcpcw%1
make -Dmodel=%1 -f..\pcw\tcpcw.mak >compile.log
if errorlevel 1 goto error
if errorlevel 0 goto end
:error
echo *** error building library ***
:end
cd ..\pcw